package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.OrderInfoDto;
import com.itheima.pojo.Order;
import com.itheima.vo.OrderSuccessInfoVO;

import java.util.Map;

public interface OrderService extends IService<Order> {

    Long createOrder(OrderInfoDto orderInfoDto);

    Order exists(Long memberId,String orderDate);

    OrderSuccessInfoVO selectOrderSuccessInfo(Long orderId);

    Map selectSetmealPercent();

}
